import { Routes, RouterModule } from '@angular/router';
import { HomeComponent } from '../home/home.component';
import { SearchComponent } from '../search/search.component';

const routes: Routes = [
  { path: '',
  component: HomeComponent
    // redirectTo: '/home',
    // pathMatch: 'full'
  },
  // {
  //   path: 'home',
  //   component: HomeComponent
  // },
  {
    path: 'search',
    component: SearchComponent
  },
];

export const AppRoutes = RouterModule.forRoot(routes);
